public class xing {
    public static void main(String[] args) {
        for (int i = 0; i < 4; i++) {
            for (int z = 0; z < 3-i; z++) {
                System.out.print(" ");
            }
            for (int j = 0; j < 2*i+1; j++) {
                System.out.print("*");
            }
            System.out.println();
        }
        for (int b = 0; b < 3; b++) {//0 1 2
            for (int c = 0; c <1+b ; c++) {//1 2 3
                System.out.print(" ");
            }
            for (int d = 0; d < 5-2*b; d++) {//5 3 1
                System.out.print("*");
            }
            System.out.println();
        }
    }
}